tf = open("f.txt","r",encoding='utf-8')
for line in tf:
    print(line)
print(tf.read(30))
tf.close()